package com.itheima.huikebackend.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @program: huike
 * @className: UserViewVO
 * @description: TODO
 * @author: xch
 * @createTime: 2023-08-08 16:46
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUserViewVO {
    //创建人
    private String createBy;

    //创建时间
    private LocalDateTime createTime;

    //用户id
    private Long userId;

    //部门id
    private Long deptId;

    //用户姓名
    private String userName;

    //用户昵称
    private String nickName;

    //邮箱
    private String email;

    //电话
    private String phonenumber;

    //性别
    private Integer sex;

    //
    private String avatar;

    //状态
    private Integer status;

    //删除标志
    private Integer delFlag;

    //登录id
    private String loginIp;

    //登录时间
    private LocalDateTime loginDate;

    //部门信息
    private DeptVO deptVO;

    //角色
    private List roles;

    //是否为管理员
    private boolean admin;

    private String remark;
}
